﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="pokazBadaniaKrwi.aspx.cs" Inherits="STS.Pacjent.pokazBadaniaKrwi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="id_pacjenta" runat="server" Text="Label" Visible="False"></asp:Label>
    <asp:Label ID="tekst" runat="server" Text="Label" Visible="False"></asp:Label>
    <br />
    Wybierz badanie:<br />
    <asp:Panel ID="Panel1" runat="server">
        <asp:DropDownList ID="DropDownList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="Column1" 
            DataValueField="id_badania">
        </asp:DropDownList>
        &nbsp;<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="OK" />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:MGRConnectionString %>" 
            SelectCommand="SELECT id_badania, id_badania+' '+data_badania FROM [badania_krew] WHERE ([id_pacjenta] = @id_pacjenta) ORDER BY [data_badania]">
            <SelectParameters>
                <asp:ControlParameter ControlID="id_pacjenta" Name="id_pacjenta" 
                    PropertyName="Text" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server">
        <br />
        WBC:
        <asp:Label ID="WBC" runat="server" Font-Bold="True" Text="Label"></asp:Label>
        &nbsp;<asp:Label ID="uwagaWBC" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
        <br />
        RBC:
        <asp:Label ID="RBC" runat="server" Font-Bold="True" Text="Label"></asp:Label>
        &nbsp;<asp:Label ID="uwagaRBC" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
        <br />
        Hemoblobina:&nbsp;<asp:Label ID="hemo" runat="server" Font-Bold="True" Text="Label"></asp:Label>
        &nbsp;<asp:Label ID="uwagahemo" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
        <br />
        Płytki krwi:
        <asp:Label ID="plytki" runat="server" Font-Bold="True" Text="Label"></asp:Label>
        &nbsp;<asp:Label ID="uwagaplytki" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
        <br />
        Potas:
        <asp:Label ID="potas" runat="server" Font-Bold="True" Text="Label"></asp:Label>
        &nbsp;<asp:Label ID="uwagapotas" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
        <br />
        Kreatynina:
        <asp:Label ID="kreatynina" runat="server" Font-Bold="True" Text="Label" 
            Visible="False"></asp:Label>
        &nbsp;<asp:Label ID="uwagapotas0" runat="server" Font-Bold="True" ForeColor="Red" 
            Text="Label" Visible="False"></asp:Label>
    </asp:Panel>
    <br />
    <br />
</asp:Content>
